﻿using AutoFixture;
using AutoFixture.Kernel;
using System;
using System.Collections.Generic;
using System.Linq;

namespace Sustainalytics.Auth.Service.Tests
{
    public static class AutoFixtureExtensions
    {
        public static object Create(this IFixture fixture, Type type)
        {
            var context = new SpecimenContext(fixture);
            return context.Resolve(type);
        }
    }
}
